package com.hornsun.data.dbo;

public class Resource {
    private String resourceGuid;

    private String url;

    private String permissionGuid;

    public String getResourceGuid() {
        return resourceGuid;
    }

    public void setResourceGuid(String resourceGuid) {
        this.resourceGuid = resourceGuid == null ? null : resourceGuid.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getPermissionGuid() {
        return permissionGuid;
    }

    public void setPermissionGuid(String permissionGuid) {
        this.permissionGuid = permissionGuid == null ? null : permissionGuid.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", resourceGuid=").append(resourceGuid);
        sb.append(", url=").append(url);
        sb.append(", permissionGuid=").append(permissionGuid);
        sb.append("]");
        return sb.toString();
    }
}